/**
 * 我的测试
 */

import { request } from '../http'

interface Ilogin {
  username: string
  password: string
  notes: string
}

export function fetchRegister(params: Ilogin) {
  const methodInstance = request.Post<Service.ResponseResult<ApiAuth.loginInfo>>('/user/register', params)
  methodInstance.meta = {
    authRole: null,
  }
  return methodInstance
}
